﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WEB
{
    public partial class frmUsuarios : System.Web.UI.Page
    {
        public bool puedeEditar;
        protected void Page_Load(object sender, EventArgs e)
        {
            //puedeEditar = User.IsInRole("Admin") ? true : false;
            //gvUsuarios.DataSource = Membership.GetAllUsers();
        }
        protected bool verLink()
        {
            var rpt = false;

            if (User.IsInRole("Admin"))
            {
                rpt = true;
            }

            return rpt;
        }
    }
}